package com.xiangshizhineng.tianzhangzhi.app.model.request;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.xiangshizhineng.tianzhangzhi.app.model.response.PatrolFileResponse;
import com.xiangshizhineng.tianzhangzhi.app.model.response.PatrolResponse;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.Valid;
import java.util.List;

@JsonInclude(JsonInclude.Include.NON_NULL)
@Data
@ApiModel(description ="巡查信息和轨迹中间类")
public class ETRequest {
    @Valid
    private PatrolResponse patrolRequest;
    @Valid
    private List<TrajectoryRequest> trajectoryRequest;

    private List<PatrolFileResponse> pics;

}
